Defines the density vectors for each dimension, for example here you use sine waves to build the 3d density space. You can use any generators like brownian noise, fractals etc. For more dimensions than 3 just extend the parameter list.
(setq 3dspace
(make-density-space
(gen-sin 1 1 256) ;x
(gen-sin 2 1 256) ;y
(gen-sin 3 1 256))) ;z
What is a density space?
Density space provides generalized performance fields for modeling performances. The concept is developed by Guerino Mazzola and Oliver Zahorka in Univ. of Zuericha. This implementation adapts the theory by a general n-dimensional space, through which you can fly a probe according to a fly-path. The probe registers the space densities on this path and returns it as a vector. When you fly several probes through the same space with different fly-paths you can use the resulting vectors to control expression parameters. A density space is a sort of hologram from which the fly-paths represent views from different viewpoints.
A density space is defined by vectors, as in example above. A fly-path is also defined by vectors. The probe sensitivity can be set to :linear, :sigmoid or :gaussian mode. Linear gives you values that are the linear sum of the space density values. Sigmoid resembles S-curve and gives compressed low and high reactions. Gaussian reacts best on the values in between and treats both low and high values as the same.